package {{ configuration.basePackage }}.entity.{{ configuration.module }};

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import com.example.studyllm.entity.BaseEntity;
import java.io.Serializable;

/**
 * <p>
 * {{configuration.tableCommont}} 实体表
 * </p>
 *
 * @author kw
 * @since {{configuration.date}}
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("{{ configuration.tableName }}")
public class {{configuration.javaName}} extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    {% for item in datas %}{% if item.Field!="id" and item.Field!="cby" and item.Field!="uby" and item.Field!="deleteFlag" and item.Field!="ctime" and item.Field!="utime"  %}
    /**
    *   {{ item.Comment }}
    */ {% if item.Field == 'id' %}
    @TableId(value = "id", type = IdType.AUTO) {% endif %}
    private {{ item.Type }} {{ item.Field }};
    {% endif %}
    {% endfor %}



}
